Input Text (Edit Box)


The Edit Box exports the text to the defined string variable and in case of integer or float type input box it also exports the numerical value to the defined numerical variable.

You must note:
This is only one way: from Input box to the variable, not the other way.

New in 4.8: The Variable associated with Input Box is now automatically initialized with the default text. You don't need to separate initialize the variable. (You can still override the variable in Page Start script)

To change the text in the Input Box on runtime you have to use:
LoadText("OBJECT","STRING VARIABLE")
The string variable doesn't have to be the one associated with the Input Text Object.

for example:
my$=' Enter your name here'
LoadText("EditBox","my$")

For more information see LoadText description.

If you use non-string type (integer or float) the user will be able to enter only the characters used by this type (numbers, floating point, exponent, minus sign)